package com.ganbo.stock.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class IndexController {

    @GetMapping(value = "/index")
    public String index(Model model) {
        model.addAttribute("haha", "我的天");
        return "/index";
    }


    @GetMapping(value = "/fund")
    public String fund() {
        return "fund";
    }
}
